﻿using Newtonsoft.Json;

namespace Nop.Plugin.Misc.Zettle.Domain.Api.Pusher;

/// <summary>
/// Represents the subscriptions details
/// </summary>
public class SubscriptionList : List<Subscription>, IApiResponse
{
    /// <summary>
    /// Gets or sets the error message
    /// </summary>
    [JsonProperty(PropertyName = "error")]
    public string Error { get; set; }

    /// <summary>
    /// Gets or sets the error description
    /// </summary>
    [JsonProperty(PropertyName = "error_description")]
    public string ErrorDescription { get; set; }

    /// <summary>
    /// Gets or sets the developer message
    /// </summary>
    [JsonProperty(PropertyName = "developerMessage")]
    public string DeveloperMessage { get; set; }
}